package com.wmapp.domain;
/**
 * mcu domain
 * @author dengl
 *
 */
public class MCU {
	public final static String DEFAULT_MANAGER_PROTOCOL="http";
	public final static String DEFAULT_MANAGER_PORT="8080";
	public final static String DEFAULT_MANAGER_NAME="";
	
	private String id;
	private String name;
	private String address;
	private String port;
	private String managerprotocol=DEFAULT_MANAGER_PROTOCOL;
	private String managerport=DEFAULT_MANAGER_PORT;
	private String managername=DEFAULT_MANAGER_NAME;
	private String user;
	private String password;
	private String description;
	
	public static final String[] XML_FIELDS={"id","name","address","port","user","password","description","managerprotocol","managerport","managername"};
	public static final String[] GRID_COLS={"name","address","port","user","description","password"};

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getManagerprotocol() {
		return managerprotocol;
	}

	public void setManagerprotocol(String managerprotocol) {
		this.managerprotocol = managerprotocol;
	}

	public String getManagerport() {
		return managerport;
	}

	public void setManagerport(String managerport) {
		this.managerport = managerport;
	}

	public String getManagername() {
		return managername;
	}

	public void setManagername(String managername) {
		this.managername = managername;
	}
	
	
}
